
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>运行时-ibzwf工作流微服务 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="OU.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../techstack/">
            
                <a href="../techstack/">
            
                    
                    技术栈
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    快速开始
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../helloworld/SYSTEM.html">
            
                <a href="../helloworld/SYSTEM.html">
            
                    
                    建立一个系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../helloworld/CORE.html">
            
                <a href="../helloworld/CORE.html">
            
                    
                    选定后台体系
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../helloworld/ENTITY.html">
            
                <a href="../helloworld/ENTITY.html">
            
                    
                    创建一个实体
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.3.1" data-path="../helloworld/ENTITY.html">
            
                <a href="../helloworld/ENTITY.html#实体的定义">
            
                    
                    实体的定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.2" data-path="../helloworld/ENTITY.html">
            
                <a href="../helloworld/ENTITY.html#发布Entity">
            
                    
                    发布Entity
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.3.2.1" data-path="../helloworld/ENTITY.html">
            
                <a href="../helloworld/ENTITY.html#Service接口">
            
                    
                    Service接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.2.2" data-path="../helloworld/ENTITY.html">
            
                <a href="../helloworld/ENTITY.html#SQL数据库存储模式">
            
                    
                    SQL数据库存储模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.2.3" data-path="../helloworld/ENTITY.html">
            
                <a href="../helloworld/ENTITY.html#MongoDB存储模式">
            
                    
                    MongoDB存储模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.2.4" data-path="../helloworld/ENTITY.html">
            
                <a href="../helloworld/ENTITY.html#ServiceAPI存储模式">
            
                    
                    ServiceAPI存储模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.2.5" data-path="../helloworld/ENTITY.html">
            
                <a href="../helloworld/ENTITY.html#筛选器">
            
                    
                    筛选器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../helloworld/API.html">
            
                <a href="../helloworld/API.html">
            
                    
                    发布一个服务接口
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.4.1" data-path="../helloworld/API.html">
            
                <a href="../helloworld/API.html#服务接口的定义">
            
                    
                    服务接口的定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.2" data-path="../helloworld/API.html">
            
                <a href="../helloworld/API.html#发布Microserice">
            
                    
                    发布Microserice
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.4.2.1" data-path="../helloworld/API.html">
            
                <a href="../helloworld/API.html#REST接口">
            
                    
                    REST接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.2.2" data-path="../helloworld/API.html">
            
                <a href="../helloworld/API.html#DTO参数">
            
                    
                    DTO参数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../helloworld/APP.html">
            
                <a href="../helloworld/APP.html">
            
                    
                    创建一个应用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.5.1" data-path="../helloworld/APP.html">
            
                <a href="../helloworld/APP.html#应用的定义">
            
                    
                    应用的定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.2" data-path="../helloworld/APP.html">
            
                <a href="../helloworld/APP.html#应用的发布">
            
                    
                    应用的发布
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.5.2.1" data-path="../helloworld/APP.html">
            
                <a href="../helloworld/APP.html#前端代码">
            
                    
                    JS前端代码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.2.2" data-path="../helloworld/APP.html">
            
                <a href="../helloworld/APP.html#Gateway">
            
                    
                    Gateway
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    开发环境设置
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../dev/IDE.html">
            
                <a href="../dev/IDE.html">
            
                    
                    配置开发环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../dev/ENV.html">
            
                <a href="../dev/ENV.html">
            
                    
                    开发环境使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../dev/CFG.html">
            
                <a href="../dev/CFG.html">
            
                    
                    管理配置文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../dev/ARG.html">
            
                <a href="../dev/ARG.html">
            
                    
                    常规应用参数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../dev/PORT.html">
            
                <a href="../dev/PORT.html">
            
                    
                    通用端口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../dev/FB.html">
            
                <a href="../dev/FB.html">
            
                    
                    前后端分离
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../dev/DOCKER.html">
            
                <a href="../dev/DOCKER.html">
            
                    
                    Docker和Docker Compose
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    微服务
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="./">
            
                <a href="./">
            
                    
                    概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="GW.html">
            
                <a href="GW.html">
            
                    
                    Gateway
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="BUS.html">
            
                <a href="BUS.html">
            
                    
                    服务治理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="OU.html">
            
                <a href="OU.html">
            
                    
                    运行时-ibzou用户管理微服务
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.5" data-path="WF.html">
            
                <a href="WF.html">
            
                    
                    运行时-ibzwf工作流微服务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    选项
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../option/security.html">
            
                <a href="../option/security.html">
            
                    
                    安全
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../option/es.html">
            
                <a href="../option/es.html">
            
                    
                    Elasticsearch查询性能提升
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../option/cache.html">
            
                <a href="../option/cache.html">
            
                    
                    使用Redis的两级缓存
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../publish/companyserver.html">
            
                <a href="../publish/companyserver.html">
            
                    
                    使用Logback
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../publish/companyserver.html">
            
                <a href="../publish/companyserver.html">
            
                    
                    使用Druid
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../option/dynamicDS.html">
            
                <a href="../option/dynamicDS.html">
            
                    
                    dynamic datasource多数据源
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../publish/companyserver.html">
            
                <a href="../publish/companyserver.html">
            
                    
                    使用xxl-job任务调度
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="../option/transactional.html">
            
                <a href="../option/transactional.html">
            
                    
                    使用seata分布式事务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="../option/rocketmq.html">
            
                <a href="../option/rocketmq.html">
            
                    
                    使用RocketMQ
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../other/EX.html">
            
                <a href="../other/EX.html">
            
                    
                    扩展
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../end/">
            
                <a href="../end/">
            
                    
                    结束
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >运行时-ibzwf工作流微服务</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5DE5;&#x4F5C;&#x6D41;"><strong>&#x5DE5;&#x4F5C;&#x6D41;</strong></h1>
<h3 id="&#x5168;&#x5C40;&#x53C2;&#x6570;&#x5B9A;&#x4E49;">&#x5168;&#x5C40;&#x53C2;&#x6570;&#x5B9A;&#x4E49;</h3>
<p>&#x8DEF;&#x5F84;&#x53C2;&#x6570;:<br><code>{system}:&#x7CFB;&#x7EDF;&#x4EE3;&#x7801;&#xFF0C;&#x5168;&#x5C0F;&#x5199;</code><br><code>{appname}:&#x524D;&#x7AEF;&#x5E94;&#x7528;&#x4EE3;&#x7801;&#xFF0C;&#x5168;&#x5C0F;&#x5199;</code><br><code>{entitys}:&#x5B9E;&#x4F53;&#x4EE3;&#x7801;&#xFF0C;&#x590D;&#x6570; &#x5168;&#x5C0F;&#x5199;</code><br>Header&#x53C2;&#x6570;:<br><code>{Authorization}: &#x6807;&#x51C6;Bearer token&#xFF0C;&#x548C;ibzwf&#x4E92;&#x4FE1;&#x7B7E;&#x53D1;&#xFF0C;&#x53EF;&#x4EE5;&#x7EDF;&#x4E00;&#x91C7;&#x7528;ibzuaa&#x7B7E;&#x53D1;&#x7684;token</code>  </p>
<h3 id="&#x63A5;&#x53E3;&#x8BF4;&#x660E;">&#x63A5;&#x53E3;&#x8BF4;&#x660E;</h3>
<ul>
<li>&#x83B7;&#x53D6;&#x5DE5;&#x4F5C;&#x6D41;&#x5B9A;&#x4E49;<br>&#x6839;&#x636E;&#x7CFB;&#x7EDF;&#x5B9E;&#x4F53;&#x67E5;&#x627E;&#x5F53;&#x524D;&#x9002;&#x914D;&#x7684;&#x5DE5;&#x4F5C;&#x6D41;&#x6A21;&#x578B;,&#x7528;&#x4E8E;&#x542F;&#x52A8;&#x524D;&#x7684;&#x9009;&#x62E9;&#x89C6;&#x56FE;<br><code>getworkflow</code><br><code>GET&#x65B9;&#x6CD5;</code><br><code>/wfcore/{system}-app-{appname}/{entitys}/process-definitions</code><br><code>&#x8FD4;&#x56DE;&#x503C;  List&lt;WFProcessDefinition&gt;</code>  <pre><code class="lang-json">[
  {<span class="hljs-string">&quot;definitionkey&quot;</span>:<span class="hljs-string">&quot;support-workorders-approve-v1&quot;</span>,<span class="hljs-string">&quot;definitionname&quot;</span>:<span class="hljs-string">&quot;&#x5DE5;&#x5355;&#x5BA1;&#x6279;&#x6D41;&#x7A0B;v1&quot;</span>},
  {<span class="hljs-string">&quot;definitionkey&quot;</span>:<span class="hljs-string">&quot;support-workorders-approve-v2&quot;</span>,<span class="hljs-string">&quot;definitionname&quot;</span>:<span class="hljs-string">&quot;&#x5DE5;&#x5355;&#x5BA1;&#x6279;&#x6D41;&#x7A0B;v2&quot;</span>}
]
</code></pre>
</li>
</ul>
<ul>
<li><p>&#x6839;&#x636E;&#x7CFB;&#x7EDF;&#x5B9E;&#x4F53;&#x67E5;&#x627E;&#x5F53;&#x524D;&#x9002;&#x914D;&#x7684;&#x5DE5;&#x4F5C;&#x6D41;&#x6A21;&#x578B;&#x6B65;&#x9AA4;<br>&#x7528;&#x4E8E;&#x5BFC;&#x822A;&#x8868;&#x683C;&#x89C6;&#x56FE;&#x5DE6;&#x4FA7;&#x51FA;&#x6B65;&#x9AA4;&#x5BFC;&#x822A;<br><code>getwfstep</code><br><code>GET&#x65B9;&#x6CD5;</code><br><code>/wfcore/{system}-app-{appname}/{entitys}/process-definitions-nodes</code><br><code>&#x8FD4;&#x56DE;&#x503C; List&lt;WFProcessNode&gt;  &#x6811;&#x8282;&#x70B9;&#x7684;id&#x662F;userTaskId&#xFF0C;&#x663E;&#x793A;&#x540D;&#x662F; userTaskName</code>  </p>
<pre><code class="lang-json">[
  {<span class="hljs-string">&quot;userTaskId&quot;</span>:<span class="hljs-string">&quot;tid-1-1561433044682-164536&quot;</span>,
  <span class="hljs-string">&quot;userTaskName&quot;</span>:<span class="hljs-string">&quot;&#x5F85;&#x5BA1;&#x6838;&quot;</span>,
  <span class="hljs-string">&quot;cnt&quot;</span>:<span class="hljs-number">0</span>,
  <span class="hljs-string">&quot;processDefinitionKey&quot;</span>:<span class="hljs-string">&quot;support-workorders-approve-v1&quot;</span>,
  <span class="hljs-string">&quot;processDefinitionName&quot;</span>:<span class="hljs-string">&quot;&#x5DE5;&#x5355;&#x5BA1;&#x6279;&#x6D41;&#x7A0B;v1&quot;</span>
  }
  ,
  {<span class="hljs-string">&quot;userTaskId&quot;</span>:<span class="hljs-string">&quot;tid-2-1561433044682-187927&quot;</span>,
  <span class="hljs-string">&quot;userTaskName&quot;</span>:<span class="hljs-string">&quot;&#x5F85;&#x5206;&#x914D;&quot;</span>,
  <span class="hljs-string">&quot;cnt&quot;</span>:<span class="hljs-number">3</span>,
  <span class="hljs-string">&quot;processDefinitionKey&quot;</span>:<span class="hljs-string">&quot;support-workorders-approve-v1&quot;</span>,
  <span class="hljs-string">&quot;processDefinitionName&quot;</span>:<span class="hljs-string">&quot;&#x5DE5;&#x5355;&#x5BA1;&#x6279;&#x6D41;&#x7A0B;v1&quot;</span>}
]
</code></pre>
</li>
<li><p>&#x542F;&#x52A8;&#x5DE5;&#x4F5C;&#x6D41;<br>&#x7528;&#x4E8E;&#x7F16;&#x8F91;&#x8868;&#x5355;&#x4E0A;&#x7684;&#x63D0;&#x4EA4;&#x6309;&#x94AE;<br><code>wfstart</code><br><code>POST&#x65B9;&#x6CD5;</code><br><code>/wfcore/{system}-app-{appname}/{entitys}/{businessKey}/process-instances</code><br>&#x8DEF;&#x5F84;&#x53C2;&#x6570;: <code>businessKey=&#x4E1A;&#x52A1;&#x4E3B;&#x952E;&#x503C;</code>
Body&#x53C2;&#x6570;:  json&#x7ED3;&#x6784;&#x4F53; </p>
<pre><code class="lang-json">{
<span class="hljs-string">&quot;activedata&quot;</span>:{
      <span class="hljs-string">&quot;orderid&quot;</span>:<span class="hljs-string">&quot;201709283&quot;</span>,
      <span class="hljs-string">&quot;ordername&quot;</span>:<span class="hljs-string">&quot;&#x4FDD;&#x517B;&#x5DE5;&#x5355;201709&quot;</span>,
      <span class="hljs-comment">//.....</span>
 },<span class="hljs-comment">//&#x7F16;&#x8F91;&#x9875;&#x9762;&#x4E0A;&#x7684;entity&#x5BF9;&#x8C61;</span>
<span class="hljs-string">&quot;processDefinitionKey&quot;</span>:<span class="hljs-string">&quot;support-workorders-approve-v1&quot;</span> <span class="hljs-comment">//&#x53EF;&#x4E3A;&#x7A7A;&#xFF0C;&#x6709;&#x9009;&#x4E2D;&#x5177;&#x4F53;&#x6D41;&#x7A0B;&#x6A21;&#x578B;&#x7248;&#x672C;&#x64CD;&#x4F5C;&#x65F6;&#x63D0;&#x4F9B;</span>
}
</code></pre>
<p>&#x8FD4;&#x56DE;&#x503C;:</p>
<pre><code class="lang-json">{
<span class="hljs-string">&quot;id&quot;</span>:<span class="hljs-string">&quot;&#x6D41;&#x7A0B;&#x5B9E;&#x4F8B;instanceId&quot;</span>,
..... <span class="hljs-comment">//&#x5927;&#x53EF;&#x4E0D;&#x5173;&#x5FC3;&#x8FD9;&#x4E2A;&#x53CD;&#x9988;&#xFF0C;&#x53EA;&#x770B;&#x662F;&#x5426;&#x6B63;&#x5E38;&#x6210;&#x529F;200&#x8BF7;&#x6C42;&#x53CD;&#x9988;&#x5373;&#x53EF;</span>
}
</code></pre>
</li>
<li><p>&#x6839;&#x636E;&#x4E1A;&#x52A1;&#x4E3B;&#x952E;&#x548C;&#x5F53;&#x524D;&#x6B65;&#x9AA4;&#x83B7;&#x53D6;&#x64CD;&#x4F5C;&#x8DEF;&#x5F84;<br>&#x7528;&#x4E8E;&#x5DE5;&#x4F5C;&#x6D41;&#x7F16;&#x8F91;&#x89C6;&#x56FE;&#x4E2D;&#x7ED8;&#x5236;&#x5DE5;&#x4F5C;&#x6D41;&#x64CD;&#x4F5C;&#x6309;&#x94AE;<br><code>getwflink</code><br><code>GET&#x65B9;&#x6CD5;</code><br><code>/wfcore/{system}-app-{appname}/{entity}/{businessKey}/usertasks/{taskDefinitionKey}/ways</code><br>&#x8DEF;&#x5F84;&#x53C2;&#x6570;: <code>businessKey=&#x4E1A;&#x52A1;&#x4E3B;&#x952E;&#x503C;</code><br>&#x8DEF;&#x5F84;&#x53C2;&#x6570;: <code>taskDefinitionKey=&#x5BFC;&#x822A;&#x8868;&#x683C;&#x89C6;&#x56FE;&#x4E2D;&#x9009;&#x4E2D;&#x7684;&#x6B65;&#x9AA4;id(userTaskId)</code><br>&#x8FD4;&#x56DE;&#x503C;: <code>List&lt;WFTaskWay&gt;</code>  </p>
<pre><code class="lang-json">[
  {<span class="hljs-string">&quot;sequenceFlowId&quot;</span>:<span class="hljs-string">&quot;lid-19286382&quot;</span>,<span class="hljs-string">&quot;sequenceFlowName&quot;</span>:<span class="hljs-string">&quot;&#x540C;&#x610F;&quot;</span>,
   <span class="hljs-string">&quot;taskId&quot;</span>:<span class="hljs-string">&quot;taskid-uuid-xxxxxx-111-xxxxx&quot;</span>,<span class="hljs-string">&quot;processDefinitionKey&quot;</span>:<span class="hljs-string">&quot;support-workorders-approve-v1&quot;</span>,
   <span class="hljs-string">&quot;processInstanceId&quot;</span>:<span class="hljs-string">&quot;57f19b6dad3e12101e433fc919e69d61&quot;</span>,<span class="hljs-string">&quot;refViewKey&quot;</span>:<span class="hljs-string">&quot;&quot;</span>},
  {<span class="hljs-string">&quot;sequenceFlowId&quot;</span>:<span class="hljs-string">&quot;lid-29388928&quot;</span>,<span class="hljs-string">&quot;sequenceFlowName&quot;</span>:<span class="hljs-string">&quot;&#x4E0D;&#x540C;&#x610F;&quot;</span>,
   <span class="hljs-string">&quot;taskId&quot;</span>:<span class="hljs-string">&quot;taskid-uuid-xxxxxx-111-xxxxx&quot;</span>,<span class="hljs-string">&quot;processDefinitionKey&quot;</span>:<span class="hljs-string">&quot;support-workorders-approve-v1&quot;</span>,
   <span class="hljs-string">&quot;processInstanceId&quot;</span>:<span class="hljs-string">&quot;57f19b6dad3e12101e433fc919e69d61&quot;</span>,<span class="hljs-string">&quot;refViewKey&quot;</span>:<span class="hljs-string">&quot;workorder_ltform_editview&quot;</span>}
]
</code></pre>
</li>
</ul>
<ul>
<li><p>&#x5DE5;&#x4F5C;&#x6D41;&#x6267;&#x884C;<br>&#x7528;&#x4E8E;&#x70B9;&#x51FB;&#x64CD;&#x4F5C;&#x8DEF;&#x5F84;&#x5BF9;&#x5E94;&#x7684;&#x6309;&#x94AE;&#x540E;&#x6267;&#x884C;&#x6B65;&#x9AA4;<br><code>wfsubmit</code><br><code>POST&#x65B9;&#x6CD5;</code><br><code>/wfcore/{system}-app-{appname}/{entitys}/{businessKey}/tasks/{taskId}</code><br>&#x8DEF;&#x5F84;&#x53C2;&#x6570;: <code>businessKey=&#x4E1A;&#x52A1;&#x4E3B;&#x952E;&#x503C;</code><br>&#x8DEF;&#x5F84;&#x53C2;&#x6570;: <code>taskId=wflink&#x7684;&#x6309;&#x94AE;&#x4E0A;&#x7684;taskId</code><br>Body&#x53C2;&#x6570;:  json&#x7ED3;&#x6784;&#x4F53;<br>&#x57FA;&#x4E8E;wflink&#x6309;&#x94AE;&#x7ED1;&#x5B9A;&#x7684;wftaskway&#x7ED3;&#x6784;&#xFF0C;&#x9644;&#x52A0;activedata &#xFF0C;&#x6BD4;&#x5982;&#x70B9;&#x51FB;&#x540C;&#x610F;  </p>
<pre><code class="lang-json">{
<span class="hljs-string">&quot;activedata&quot;</span>:{
        <span class="hljs-string">&quot;orderid&quot;</span>:<span class="hljs-string">&quot;201709283&quot;</span>,
        <span class="hljs-string">&quot;ordername&quot;</span>:<span class="hljs-string">&quot;&#x4FDD;&#x517B;&#x5DE5;&#x5355;201709&quot;</span>,
        <span class="hljs-comment">//.....</span>
   },<span class="hljs-comment">//&#x7F16;&#x8F91;&#x9875;&#x9762;&#x4E0A;&#x7684;entity&#x5BF9;&#x8C61;</span>
<span class="hljs-string">&quot;sequenceFlowId&quot;</span>:<span class="hljs-string">&quot;lid-19286382&quot;</span>,
<span class="hljs-string">&quot;sequenceFlowName&quot;</span>:<span class="hljs-string">&quot;&#x540C;&#x610F;&quot;</span>,
<span class="hljs-string">&quot;taskId&quot;</span>:<span class="hljs-string">&quot;taskid-uuid-xxxxxx-111-xxxxx&quot;</span>,
<span class="hljs-string">&quot;processDefinitionKey&quot;</span>:<span class="hljs-string">&quot;support-workorders-approve-v1&quot;</span>,
<span class="hljs-string">&quot;processInstanceId&quot;</span>:<span class="hljs-string">&quot;57f19b6dad3e12101e433fc919e69d61&quot;</span> 
}
</code></pre>
<p>&#x8FD4;&#x56DE;&#x503C;:</p>
<pre><code class="lang-json">{
<span class="hljs-string">&quot;id&quot;</span>:<span class="hljs-string">&quot;&#x6D41;&#x7A0B;&#x5B9E;&#x4F8B;instanceId&quot;</span>,
..... <span class="hljs-comment">//&#x5927;&#x53EF;&#x4E0D;&#x5173;&#x5FC3;&#x8FD9;&#x4E2A;&#x53CD;&#x9988;&#xFF0C;&#x53EA;&#x770B;&#x662F;&#x5426;&#x6B63;&#x5E38;&#x6210;&#x529F;200&#x8BF7;&#x6C42;&#x53CD;&#x9988;&#x5373;&#x53EF;</span>
}
</code></pre>
</li>
<li><p>&#x67E5;&#x627E;&#x6211;&#x7684;&#x5F85;&#x529E;&#x63A5;&#x53E3;<br>&#x7528;&#x4E8E;&#x4E1A;&#x52A1;&#x7CFB;&#x7EDF;&#x5F85;&#x529E;&#x8868;&#x683C;&#x6570;&#x636E;&#x663E;&#x793A;&#x65F6;&#xFF0C;&#x9644;&#x52A0; in(&#x5F85;&#x529E;businessKey&#x96C6;&#x5408;) sql&#x6761;&#x4EF6;<br><code>GET&#x65B9;&#x6CD5;</code><br><code>/{system}-app-{appname}/{entity}/process-definitions/{processDefinitionKey}/usertasks/{taskDefinitionKey}/tasks</code><br>&#x8DEF;&#x5F84;&#x53C2;&#x6570;: <code>processDefinitionKey=&#x6D41;&#x7A0B;&#x5B9A;&#x4E49;key&#xFF0C;&#x5982;&#xFF1A;support-workorders-approve-v1&#xFF0C;&#x5982;&#x679C;&#x60F3;&#x770B;&#x672C;&#x5B9E;&#x4F53;&#x5168;&#x90E8;&#x5404;&#x7248;&#x672C;&#x6D41;&#x7A0B;&#x5F85;&#x529E;&#x7528;:alls</code><br>&#x8DEF;&#x5F84;&#x53C2;&#x6570;: <code>taskDefinitionKey=&#x6B65;&#x9AA4;&#x5BF9;&#x5E94;&#x7684;userTaskId&#xFF0C;&#x5982;(&#x5F85;&#x5BA1;&#x6838;)&#xFF1A;tid-1-1561433044682-164536&#xFF0C;&#x5982;&#x679C;&#x60F3;&#x770B;&#x5168;&#x90E8;&#x6B65;&#x9AA4;&#x7528;&#xFF1A;alls</code><br>&#x8FD4;&#x56DE;&#x503C;: List<string> &#x7B26;&#x5408;&#x6761;&#x4EF6;&#x5F85;&#x529E;&#x7684;&#x4E1A;&#x52A1;&#x4E3B;&#x952E;businessKey&#x96C6;&#x5408;</string></p>
</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="OU.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 运行时-ibzou用户管理微服务">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"运行时-ibzwf工作流微服务","level":"1.5.5","depth":2,"next":{"title":"选项","level":"1.6","depth":1,"ref":"","articles":[{"title":"安全","level":"1.6.1","depth":2,"path":"option/security.md","ref":"option/security.md","articles":[]},{"title":"Elasticsearch查询性能提升","level":"1.6.2","depth":2,"path":"option/es.md","ref":"option/es.md","articles":[]},{"title":"使用Redis的两级缓存","level":"1.6.3","depth":2,"path":"option/cache.md","ref":"option/cache.md","articles":[]},{"title":"使用Logback","level":"1.6.4","depth":2,"path":"publish/companyserver.md","ref":"publish/companyserver.md","articles":[]},{"title":"使用Druid","level":"1.6.5","depth":2,"path":"publish/companyserver.md","ref":"publish/companyserver.md","articles":[]},{"title":"dynamic datasource多数据源","level":"1.6.6","depth":2,"path":"option/dynamicDS.md","ref":"option/dynamicDS.md","articles":[]},{"title":"使用xxl-job任务调度","level":"1.6.7","depth":2,"path":"publish/companyserver.md","ref":"publish/companyserver.md","articles":[]},{"title":"使用seata分布式事务","level":"1.6.8","depth":2,"path":"option/transactional.md","ref":"option/transactional.md","articles":[]},{"title":"使用RocketMQ","level":"1.6.9","depth":2,"path":"option/rocketmq.md","ref":"option/rocketmq.md","articles":[]}]},"previous":{"title":"运行时-ibzou用户管理微服务","level":"1.5.4","depth":2,"path":"msa/OU.md","ref":"msa/OU.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"msa/WF.md","mtime":"2020-08-04T10:14:12.570Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-10-08T05:59:13.818Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

